package com.qbq.monster;

import com.qbq.Game;

/**
 * @description:
 * @author: QiaoBiQing
 * @date: Created in 2020/4/30 17:00
 * @version: 1.0
 * @modified By:
 */
public class UI {
    public void dispalyStaus(Game game) {
        System.out.println("------------------------------------");
        System.out.println(game.getPerson().getDescription() + ":" + game.getPerson().getHPValue());
        for (MonsterWolf item : game.getMonsterWolfSet().getMonsterWolves()) {
                System.out.print(item.getId() + "(" + item.getDescription() + "):" + item.getHPValue()+" ; ");
            }

        System.out.println();
        System.out.println("------------------------------------");
    }

    public void displayHelpMsg(){
        System.out.println("--3条命令:chop(chop wolf1) bye help --");
    }

    public void displayBye(){
        System.out.println("再见");
    }

    public void displayError(){
        System.out.println("输入的是错误信息");
    }

    public void displayDamageMsg(Creature attackCreature, Creature targetCreature){
        System.out.println(attackCreature.getDescription()+"对"+targetCreature.getDescription()+
                "造成"+attackCreature.getCurrentWeapon().getDamagePoints()+"伤害");
    }
}
